//-----------------------------------------------------------------------
// <copyright file="CatalogBase.cs" company="FetCo">
//     Copyright (c) FetCo. All rights reserved.
// </copyright>
//-----------------------------------------------------------------------
	
using System;
using System.Data;
using System.ComponentModel;
using System.Collections;

namespace ADESSA.Entities
{
	[Serializable]
	public class CatalogBase
	{
		
		#region Variable Declarations
		public static string _Table = "Catalogs";
		private long				catalogId = 0;
		private string				catalogName = string.Empty;
		private string				catalogLink = string.Empty;
		private string				target = string.Empty;
		private long				sort = 0;
		private bool				activate = false;
		private bool				enable = false;
		private DateTime				createdDate = new DateTime(1900,1,1,0,0,0,0);
		private DateTime				lastActivityDate = new DateTime(1900,1,1,0,0,0,0);
		private string				picture_S = string.Empty;
		private string				picture_L = string.Empty;
		private string				title = string.Empty;
		private string				content = string.Empty;
		private string				description = string.Empty;
		private long				high_Level_Catalog = 0;
		private long				level = 0;
		private long				catalog_Setup_Id = 0;
		private string				catalogName_eg = string.Empty;
		private string				picture_S_eg = string.Empty;
		private string				picture_L_eg = string.Empty;
		private string				title_eg = string.Empty;
		private string				content_eg = string.Empty;
		private string				description_eg = string.Empty;
		private bool				highLight = false;
		#endregion
		
		#region Constructors
		public CatalogBase() {}
		
		public CatalogBase (
			long catalogId,
			string catalogName,
			string catalogLink,
			string target,
			long sort,
			bool activate,
			bool enable,
			DateTime createdDate,
			DateTime lastActivityDate,
			string picture_S,
			string picture_L,
			string title,
			string content,
			string description,
			long high_Level_Catalog,
			long level,
			long catalog_Setup_Id,
			string catalogName_eg,
			string picture_S_eg,
			string picture_L_eg,
			string title_eg,
			string content_eg,
			string description_eg,
			bool highLight)
		
		{
			this.catalogId = catalogId;
			this.catalogName = catalogName;
			this.catalogLink = catalogLink;
			this.target = target;
			this.sort = sort;
			this.activate = activate;
			this.enable = enable;
			this.createdDate = createdDate;
			this.lastActivityDate = lastActivityDate;
			this.picture_S = picture_S;
			this.picture_L = picture_L;
			this.title = title;
			this.content = content;
			this.description = description;
			this.high_Level_Catalog = high_Level_Catalog;
			this.level = level;
			this.catalog_Setup_Id = catalog_Setup_Id;
			this.catalogName_eg = catalogName_eg;
			this.picture_S_eg = picture_S_eg;
			this.picture_L_eg = picture_L_eg;
			this.title_eg = title_eg;
			this.content_eg = content_eg;
			this.description_eg = description_eg;
			this.highLight = highLight;
		}
		#endregion
		
		#region Properties	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is bigint</value>
		public long CatalogId
		{
			get { return catalogId; }
			set { catalogId = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is nvarchar</value>
		public string CatalogName
		{
			get { return catalogName; }
			set { catalogName = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is nvarchar</value>
		public string CatalogLink
		{
			get { return catalogLink; }
			set { catalogLink = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is nvarchar</value>
		public string Target
		{
			get { return target; }
			set { target = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is bigint</value>
		public long Sort
		{
			get { return sort; }
			set { sort = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is bit</value>
		public bool Activate
		{
			get { return activate; }
			set { activate = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is bit</value>
		public bool Enable
		{
			get { return enable; }
			set { enable = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is datetime</value>
		public DateTime CreatedDate
		{
			get { return createdDate; }
			set { createdDate = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is datetime</value>
		public DateTime LastActivityDate
		{
			get { return lastActivityDate; }
			set { lastActivityDate = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is nvarchar</value>
		public string Picture_S
		{
			get { return picture_S; }
			set { picture_S = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is nvarchar</value>
		public string Picture_L
		{
			get { return picture_L; }
			set { picture_L = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is nvarchar</value>
		public string Title
		{
			get { return title; }
			set { title = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is ntext</value>
		public string Content
		{
			get { return content; }
			set { content = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is nvarchar</value>
		public string Description
		{
			get { return description; }
			set { description = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is bigint</value>
		public long High_Level_Catalog
		{
			get { return high_Level_Catalog; }
			set { high_Level_Catalog = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is bigint</value>
		public long Level
		{
			get { return level; }
			set { level = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is bigint</value>
		public long Catalog_Setup_Id
		{
			get { return catalog_Setup_Id; }
			set { catalog_Setup_Id = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is nvarchar</value>
		public string CatalogName_eg
		{
			get { return catalogName_eg; }
			set { catalogName_eg = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is nvarchar</value>
		public string Picture_S_eg
		{
			get { return picture_S_eg; }
			set { picture_S_eg = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is nvarchar</value>
		public string Picture_L_eg
		{
			get { return picture_L_eg; }
			set { picture_L_eg = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is nvarchar</value>
		public string Title_eg
		{
			get { return title_eg; }
			set { title_eg = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is ntext</value>
		public string Content_eg
		{
			get { return content_eg; }
			set { content_eg = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is nvarchar</value>
		public string Description_eg
		{
			get { return description_eg; }
			set { description_eg = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is bit</value>
		public bool HighLight
		{
			get { return highLight; }
			set { highLight = value; }
		}
	
		
		#endregion
	}//End Class
	
	public enum CatalogColumns
	{
		CatalogId,
		CatalogName,
		CatalogLink,
		Target,
		Sort,
		Activate,
		Enable,
		CreatedDate,
		LastActivityDate,
		Picture_S,
		Picture_L,
		Title,
		Content,
		Description,
		High_Level_Catalog,
		Level,
		Catalog_Setup_Id,
		CatalogName_eg,
		Picture_S_eg,
		Picture_L_eg,
		Title_eg,
		Content_eg,
		Description_eg,
		HighLight
	}//End enum
}